﻿using System;
using System.Collections.Generic;
using System.Text;

namespace TMFC
{
    class Global
    {
        public static string gUserID;    // 记录登入人员工号

        // 20091103 Jeffery Add
        public static string gFabID;     // 记录登入 PC 厂别
        public static string gLineID;    // 记录登入 PC 线别
        public static string gPrcsID;    // 记录登入 PC 站别

        public static string gBprinter;    // 记录登入 PC 站别 add by brent 20111020     
        public static string gRCprinter;    // 记录登入 PC 站别 add by brent 20111020 

        // 将全局变量指定给 PPT
        public static void SetPPTPara()
        {
            PPT.Global.gstrFab = gFabID;
            PPT.Global.gstrLine = gLineID;
            PPT.Global.gstrPrcs = gPrcsID;
            //modify by brent 20111220
            //PPT.Global.gstrBprinter = Properties.Settings.Default.FVIBprinter;
            //PPT.Global.gstrRCprinter = Properties.Settings.Default.RCprinter;
            PPT.Global.gstrBprinter = gBprinter;
            PPT.Global.gstrRCprinter = gRCprinter;

            //end modify by brent 20111220
        }
    }

}

